package com.example.clothingmanager.controller;

import com.example.clothingmanager.service.ClothesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author Huangyt
 * @version 1.0
 * @date 2020/5/7 10:57
 */
@Controller
public class TestController {
    @Autowired
    ClothesService clothesService;

    @GetMapping("/hello")
    public String test01(){
        System.out.println("hyt你好");
        return "clothes_list";
    }

    @GetMapping("/test")
    public String test03(){
        return "Test";
    }

    @GetMapping("/test02")
    public String test02(){
        System.out.println("hyt你好");
        return "router";
    }
}
